@{
    var inputDescriptor = EditorContext.InputDescriptor;
    var displayName = inputDescriptor.DisplayName;
    var description = inputDescriptor.Description;
}

<ExpressionInput EditorContext="@EditorContext">
    <ChildContent>
        
        <MudChipField 
            @ref="_chipField"
            T="string"
            Label="@displayName"
            Lines="1"
            WrapChips="true"
            Margin="Margin.Dense"
            Values="@_items"
            Variant="Variant.Outlined"
            HelperText="@description"
            Immediate="true"
            AutoSize="true"
            ForceShrink="true"
            ChipColor="Color.Primary"
            ChipSize="Size.Medium"
            ChipVariant="Variant.Filled"
            OnKeyDown="@OnKeyDown"
            ValuesChanged="@OnValuesChanges"
        />
        
    </ChildContent>
</ExpressionInput>